package Service;

import model.Info;
import model.User;

public class EarnLog {
    public void add(User user) {
        System.out.println("========================");
        System.out.println("   欢迎使用个人账单系统   ");
        System.out.println("========================");
        Info info = new Info();
        System.out.println("请输入收入信息:");
        System.out.println("日期(YYYY-MM-DD):");
        System.out.println("金额:");
        System.out.println("");
        System.out.println("");
        System.out.println("");
        user.addEarnInfo(info);
    }
}
